function charts_t(title, data,) {
    return {
        title: {
            text: title,
            left: 'center'
        },
        tooltip: {
            trigger: 'item',
            formatter: '<p>区间：{b}</p>' +
                '<p>数量：{c}</p>' +
                '<p>占比：{d}%</p> ',
        },
        legend: {
            left: 'right',
            orient: 'vertical',
        },
        series: [
            {
                type: 'pie',
                name: '',
                radius: '65%',
                center: ['50%', '50%'],
                selectedMode: 'single',
                labelLine: {
                    length: 10,
                },
                label: {
                    formatter: '{per|{d}%}',
                    backgroundColor: '#F6F8FC',
                    borderColor: '#8C8D8E',
                    borderWidth: 1,
                    borderRadius: 4,

                    rich: {
                        a: {
                            color: '#6E7079',
                            lineHeight: 22,
                            align: 'center'
                        },
                        hr: {
                            borderColor: '#8C8D8E',
                            width: '100%',
                            borderWidth: 1,
                            height: 0
                        },
                        b: {
                            color: '#4C5058',
                            fontSize: 14,
                            fontWeight: 'bold',
                            lineHeight: 33
                        },
                        per: {
                            color: '#fff',
                            backgroundColor: '#4C5058',
                            padding: [3, 4],
                            borderRadius: 4
                        }
                    }
                },
                data: data,
                emphasis: {
                    itemStyle: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    }
}